package com.example.xd.myijkplayer.textureview

import android.os.storage.StorageVolume

/**
 * @auther XuDan on 2020/9/15.
 */
interface ITexture {
    fun start()
    fun restart()
    fun pause()
    fun seekTo(pos: Long)
    fun release()
    fun setPath(path: String)

    fun isBufferingPlaying(): Boolean
    fun isBufferingPaused(): Boolean
    fun isPlaying(): Boolean
    fun isPaused(): Boolean

    fun duration(): Long
    fun currentPosition(): Long
    fun bufferPercentage(): Int

    fun isFullScreen(): Boolean
    fun enterFullScreen()
    fun exitFullScreen()

    fun isTinyWindow(): Boolean
    fun enterTinyWindow()
    fun exitTinyWindow()


}